package com.turing.post.thirdinterface.impl;

import javax.ejb.Local;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import com.turing.post.thirdinterface.util.MapCardClassic;
import com.turing.post.thirdinterface.util.MapCardClassicDao;

@Stateless(mappedName = "thirdinterface.impl.MapCardClassicDaoImpl")
@Remote
@Local
public class MapCardClassicDaoImpl implements MapCardClassicDao {

	/**
	 * 实体管理器
	 * 
	 * @see javax.persistence.EntityManager
	 */
	@PersistenceContext
	protected EntityManager _em;

	@Override
	public MapCardClassic getMapCardClassicByBindingTypeNo(String bindingTypeNo) {
		return _em.find(MapCardClassic.class, bindingTypeNo);
	}

}
